package com.erp.fin.dao;

import com.erp.fin.domain.CostapplyDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 费用申请
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-11-17 19:42:02
 */
@Mapper
public interface CostapplyDao {

	CostapplyDO get(Long id);
	
	List<CostapplyDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CostapplyDO costapply);
	
	int update(CostapplyDO costapply);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    int okconfirm(@Param("id") Long id,@Param("status") int status);
}
